package com.zl.smartmall.library.po;

import android.os.Parcel;
import android.os.Parcelable;

public class AssortProducts implements Parcelable {
	private int id;
	private int activitiesId;
	private int brandId;
	private int inventoryNum;// 库存
	private int productId;
	private int shopId;
	private int saleNum;// 销售量(历史总销量)
	private double originalCost;
	private double currentCost;
	private String productName;
	private String productIcon;
	private String productIntro;
	private String shopName;
	private String brandName;
	private String openTime;
	private String labelString;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getActivitiesId() {
		return activitiesId;
	}

	public void setActivitiesId(int activitiesId) {
		this.activitiesId = activitiesId;
	}

	public int getBrandId() {
		return brandId;
	}

	public void setBrandId(int brandId) {
		this.brandId = brandId;
	}

	public int getInventoryNum() {
		return inventoryNum;
	}

	public void setInventoryNum(int inventoryNum) {
		this.inventoryNum = inventoryNum;
	}

	public int getProductId() {
		return productId;
	}

	public void setProductId(int productId) {
		this.productId = productId;
	}

	public int getShopId() {
		return shopId;
	}

	public void setShopId(int shopId) {
		this.shopId = shopId;
	}

	public int getSaleNum() {
		return saleNum;
	}

	public void setSaleNum(int saleNum) {
		this.saleNum = saleNum;
	}

	public double getOriginalCost() {
		return originalCost;
	}

	public void setOriginalCost(double originalCost) {
		this.originalCost = originalCost;
	}

	public double getCurrentCost() {
		return currentCost;
	}

	public void setCurrentCost(double currentCost) {
		this.currentCost = currentCost;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getProductIcon() {
		return productIcon;
	}

	public void setProductIcon(String productIcon) {
		this.productIcon = productIcon;
	}

	public String getProductIntro() {
		return productIntro;
	}

	public void setProductIntro(String productIntro) {
		this.productIntro = productIntro;
	}

	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}

	public String getBrandName() {
		return brandName;
	}

	public void setBrandName(String brandName) {
		this.brandName = brandName;
	}

	public String getOpenTime() {
		return openTime;
	}

	public void setOpenTime(String openTime) {
		this.openTime = openTime;
	}

	public String getLabelString() {
		return labelString;
	}

	public void setLabelString(String labelString) {
		this.labelString = labelString;
	}

	public AssortProducts(Parcel source) {
		id = source.readInt();
		brandId = source.readInt();
		shopId = source.readInt();
		shopName = source.readString();
		productId = source.readInt();
		productIntro = source.readString();
		productIcon = source.readString();
		originalCost = source.readDouble();
		currentCost = source.readDouble();
		saleNum = source.readInt();
		inventoryNum = source.readInt();
		brandName = source.readString();
		openTime = source.readString();
	}

	public AssortProducts() {
		// TODO Auto-generated constructor stub
	}

	@Override
	public int describeContents() {
		// TODO Auto-generated method stub

		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		// TODO Auto-generated method stub
		dest.writeInt(id);
		dest.writeInt(brandId);
		dest.writeInt(shopId);
		dest.writeString(shopName);
		dest.writeInt(productId);
		dest.writeString(productIcon);
		dest.writeString(productIntro);
		dest.writeDouble(originalCost);
		dest.writeDouble(currentCost);
		dest.writeInt(saleNum);
		dest.writeInt(inventoryNum);
		dest.writeString(brandName);
		dest.writeString(openTime);
	}

	public static final Parcelable.Creator<AssortProducts> CREATOR = new Creator<AssortProducts>() {

		@Override
		public AssortProducts[] newArray(int size) {
			return new AssortProducts[size];
		}

		@Override
		public AssortProducts createFromParcel(Parcel source) {
			// TODO Auto-generated method stub
			return new AssortProducts(source);
		}
	};
}
